// 2013-7-31下午10:02:24  net.betou.trade.main.manager.UserGroupMng.java

package net.betou.trade.main.manager;

import java.util.List;

import net.betou.trade.entity.main.UserGroup;

/**
 * 
 * @author 叶装装
 */
public interface UserGroupMng{

	public UserGroup save( UserGroup bean );
	
	public UserGroup findById( Integer id );
	
	public UserGroup deleteById( Integer id );
	
	public UserGroup [ ] deleteByIds( Integer [ ] ids );
	
	public UserGroup findByDefault( );
	
	public int updateToDefault( ); // 更新默认的为非默认，更新当前的为默认的
	
	public UserGroup update( UserGroup bean );  
	
	public List< UserGroup> getAllList( String searchProperty, String searchValue, String orderProperty, String orderDirection );
	
	public List< UserGroup > getAllowReadList( String searchProperty, String searchValue, String orderProperty, String orderDirection ); 
}
